package com.hotel.service;

import com.hotel.pojo.Room;
import org.springframework.stereotype.Service;

import java.util.List;

public interface RoomService {
    List<Room> getAll();

    void addRoom(Room room);

    Room selectRoomById(int id);

    void updateRoom(Room room);

    void deleteRoomById(int id);

    List<Room> selectRoomByName(String selectRoomName);
}
